package top.maof.book.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import top.maof.book.annotation.FieldType;
import top.maof.book.annotation.Key;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class X {
    @Key
    @FieldType(isIndexed = true, isTokenized = true, isStored = true)
    String id;

    @FieldType(isIndexed = true, isTokenized = true, isStored = true)
    String name;
}
